#pragma once
#include "BaseStrategy.h"

class Weapon;

class BossLvl1Strategy : public BaseStrategy
{
public:
	BossLvl1Strategy(void);
	~BossLvl1Strategy(void);

	virtual bool init();

	virtual void processing( float dt );

	virtual void parseXml( xml_node node );

	virtual void onEnter();

	virtual void onExit();

	void onShootPlane(float dt);
	void startStrategy(CCNode* sender);


	CC_PROPERTY(Weapon*, _weaponShootPlaneLeft, WeaponShootPlaneLeft);
	//CC_PROPERTY(Weapon*, _weaponShootPlaneRight, WeaponShootPlaneRight);
	CC_SYNTHESIZE(float, _timeShootPlaneDelay, TimeShootPlaneDelay);
	CC_SYNTHESIZE(float, _timeDelayStart, TimeDelayStart);
	CC_SYNTHESIZE_RETAIN(CCArray*, _shootPosition, ShootPositions);
	CC_SYNTHESIZE_RETAIN(BaseStrategy*, _beamShootStrategy, BeamShootStrategy);

	CREATE_FUNC(BossLvl1Strategy);
};

